package com.example.xiaomi.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 * @ClassName TestController
 * @Describe :
 * @Author : wangfei
 * @Date :  2020/3/4 13:44
 */
@RestController
@Slf4j
public class TestController {

	@GetMapping("/test")
	public String test(){
		return "Xiaomi Test Success";
	}

	@GetMapping("/admin/test")
	public String admintest(){
		return "Xiaomi Admin Test Success";
	}


}
